package com.uzai.console.mapper;

import com.uzai.console.entity.PyqFollowSend;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface PyqFollowSendMapper {
    int deleteById(@Param("id") Long id, @Param("merId") Long merId);

    int deleteBeforeDay(@Param("beforeDay") Integer beforeDay);

    int insert(PyqFollowSend record);

    int insertSelective(PyqFollowSend record);

    PyqFollowSend selectById(@Param("id") Long id, @Param("merId") Long merId);

    PyqFollowSend selectByDeviceUniqueIdAndSnsId(@Param("deviceUniqueId") Long deviceUniqueId, @Param("snsId") String snsId);

    int updateByIdSelective(PyqFollowSend record);

    int updateById(PyqFollowSend record);

}